package com.yunhui.entity;


import java.math.BigDecimal;
import java.util.Date;

import com.baomidou.mybatisplus.annotation.IdType;
import com.baomidou.mybatisplus.annotation.TableField;
import com.baomidou.mybatisplus.annotation.TableId;
import com.baomidou.mybatisplus.extension.activerecord.Model;

import java.io.Serializable;

/**
 * <p>
 * 行程基本表
 * </p>
 *
 * @author WGH
 * @since 2019-12-09
 */
public class RouteJb extends Model<RouteJb> implements Serializable{

    private static final long serialVersionUID = 1L;

    /**
     * 编号
     */
    @TableId(value = "id", type = IdType.AUTO)
    private Integer id;
    /**
     * 商家id
     */
    @TableField("mId")
    private Integer mId;
    /**
     * 起点
     */
    private String origin;
    /**
     * 目的地
     */
    private String destination;
    /**
     * 行程天数
     */
    private Integer days;
    /**
     * 行程夜晚
     */
    private Integer night;
    /**
     * 行程单人价格
     */
    private BigDecimal price;
    /**
     * 行程的审核状态
     */
    private Integer status;
    /**
     * 行程的名称
     */
    private String title;
    /**
     * 推荐理由
     */
    private String recommendation;
    /**
     * 行程亮点
     */
    private String lightspot;
    /**
     * 费用说明
     */
    @TableField("priceExplain")
    private String priceExplain;
    /**
     * 服务标准
     */
    @TableField("serviceExplain")
    private String serviceExplain;
    /**
     * 预定须知
     */
    @TableField("reserveExplain")
    private String reserveExplain;
    /**
     * 行程图片1
     */
    @TableField("imgName1")
    private String imgName1;
    /**
     * 行程图片2
     */
    @TableField("imgName2")
    private String imgName2;
    /**
     * 行程图片3
     */
    @TableField("imgName3")
    private String imgName3;
    /**
     * 行程图片4
     */
    @TableField("imgName4")
    private String imgName4;
    /**
     * 创建时间
     */
    @TableField("createDate")
    private Date createDate;
    /**
     * 行程的最大人数
     */
    @TableField("maxPerson")
    private Integer maxPerson;


    public Integer getId() {
        return id;
    }

    public void setId(Integer id) {
        this.id = id;
    }

    public Integer getmId() {
        return mId;
    }

    public void setmId(Integer mId) {
        this.mId = mId;
    }

    public String getOrigin() {
        return origin;
    }

    public void setOrigin(String origin) {
        this.origin = origin;
    }

    public String getDestination() {
        return destination;
    }

    public void setDestination(String destination) {
        this.destination = destination;
    }

    public Integer getDays() {
        return days;
    }

    public void setDays(Integer days) {
        this.days = days;
    }

    public Integer getNight() {
        return night;
    }

    public void setNight(Integer night) {
        this.night = night;
    }

    public BigDecimal getPrice() {
        return price;
    }

    public void setPrice(BigDecimal price) {
        this.price = price;
    }

    public Integer getStatus() {
        return status;
    }

    public void setStatus(Integer status) {
        this.status = status;
    }

    public String getTitle() {
        return title;
    }

    public void setTitle(String title) {
        this.title = title;
    }

    public String getRecommendation() {
        return recommendation;
    }

    public void setRecommendation(String recommendation) {
        this.recommendation = recommendation;
    }

    public String getLightspot() {
        return lightspot;
    }

    public void setLightspot(String lightspot) {
        this.lightspot = lightspot;
    }

    public String getPriceExplain() {
        return priceExplain;
    }

    public void setPriceExplain(String priceExplain) {
        this.priceExplain = priceExplain;
    }

    public String getServiceExplain() {
        return serviceExplain;
    }

    public void setServiceExplain(String serviceExplain) {
        this.serviceExplain = serviceExplain;
    }

    public String getReserveExplain() {
        return reserveExplain;
    }

    public void setReserveExplain(String reserveExplain) {
        this.reserveExplain = reserveExplain;
    }

    public String getImgName1() {
        return imgName1;
    }

    public void setImgName1(String imgName1) {
        this.imgName1 = imgName1;
    }

    public String getImgName2() {
        return imgName2;
    }

    public void setImgName2(String imgName2) {
        this.imgName2 = imgName2;
    }

    public String getImgName3() {
        return imgName3;
    }

    public void setImgName3(String imgName3) {
        this.imgName3 = imgName3;
    }

    public String getImgName4() {
        return imgName4;
    }

    public void setImgName4(String imgName4) {
        this.imgName4 = imgName4;
    }

    public Date getCreateDate() {
        return createDate;
    }

    public void setCreateDate(Date createDate) {
        this.createDate = createDate;
    }

    public Integer getMaxPerson() {
        return maxPerson;
    }

    public void setMaxPerson(Integer maxPerson) {
        this.maxPerson = maxPerson;
    }

    @Override
    protected Serializable pkVal() {
        return this.id;
    }

    @Override
    public String toString() {
        return "RouteJb{" +
        ", id=" + id +
        ", mId=" + mId +
        ", origin=" + origin +
        ", destination=" + destination +
        ", days=" + days +
        ", night=" + night +
        ", price=" + price +
        ", status=" + status +
        ", title=" + title +
        ", recommendation=" + recommendation +
        ", lightspot=" + lightspot +
        ", priceExplain=" + priceExplain +
        ", serviceExplain=" + serviceExplain +
        ", reserveExplain=" + reserveExplain +
        ", imgName1=" + imgName1 +
        ", imgName2=" + imgName2 +
        ", imgName3=" + imgName3 +
        ", imgName4=" + imgName4 +
        ", createDate=" + createDate +
        ", maxPerson=" + maxPerson +
        "}";
    }
}
